import Form, { useForm, FormProvider } from './Form';
import Item from './Item';
import List from './List';
import ErrorList from './ErrorList';

export { Props as FormProps, FormInstance } from './Form';
export { Props as FormItemProps } from './Item';
export { Props as FormListProps } from './List';
export { Props as FormErrorListProps } from './ErrorList';

Form.Item = Item;
Form.List = List;
Form.ErrorList = ErrorList;
Form.useForm = useForm;
Form.FormProvider = FormProvider;

export { Item };
export { List };
export { ErrorList };
export { useForm };
export { FormProvider };
export default Form;
